package Chapter07.Homework.H20212025.Work06;

public class DrawingTest {
    String name="画图程序";
    public static void main(String[] args) {
        DrawingTest dt=new DrawingTest();
        System.out.println("*********"+dt.name+"********");
        Trigonometric tr=new Trigonometric();
        System.out.println(tr.girth(2,3,4));
        System.out.println(tr.mianji(2,3));
        Long l=new Long();
        System.out.print("长方形周长");
        System.out.println(l.girth(4,5));
        System.out.print("长方形面积：");
        System.out.println(l.mianji(4,5));
        Circle c=new Circle();
        System.out.print("圆周长：");
        System.out.println(c.girth(3.14,5));
        System.out.print("圆面积：");
        System.out.println(c.mianji(3.14,5));
    }
}
